package com.lkhd.common.myemum;

/**
 * 活动枚举
 * 
 * @author youjie
 * @date 2018-9-14 11:57:36
 * 	
 */
public enum ActivityEnum {
	
	ON_LINE(1,"线上"),
	UNDER_LINE(2,"线下"),
	TIME(3,"时间段"),
	EVERYDAY(4,"每天"),
	EVERYWEEKOFDAY(5,"每一周的一天"),
	
	NOT_ACTIVITY(1000,"找不到该活动"),
	PARAMSFAIL(1001,"参数错误"),
	DELFAIL(1002,"该活动已报名不能删除"),
	DELTTPYEFAIL(1003,"该票种已经被人购买不能删除"),
	DUPLICATE_COLLECTION(1004,"活动已收藏"),
	NOTCOLLECTION(1005,"用户没有收藏该活动"),
	DELVOLUNTEER(1006,"活动必须要有一个主负责人"),
	;
	
	/*
	 * code 状态值
	 */
	private Integer code;
	/*
	 * 状态说明
	 */
	private String message;

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	private ActivityEnum(Integer code, String message) {
		this.code = code;
		this.message = message;
	}

}
